<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Flat_app {

	public function __construct()
	{
		$this->ci =& get_instance();
	}

	public function get($file)
	{
		ob_start();
		include APPPATH . '../' . $this->ci->config->item('flat_path') . $file;
		$flat_app = ob_get_clean();

		return $flat_app;
	}
}

